# gunicorn_conf.py
from multiprocessing import cpu_count

bind = '0.0.0.0:8765'
worker_class = 'uvicorn.workers.UvicornWorker'
workers = cpu_count() * 2 + 1
threads = 2
daemon = True #仅使用命令执行时为True,使用systemctl或者surpervisor管理服务时，需为False
loglevel = 'info'
accesslog = 'logs/access.log'
errorlog = 'logs/error.log'